import React from 'react';
import { Layout } from 'antd';
// import { Link } from 'umi';
import logo from '@/assets/logo.png';
import styles from './index.less';

const { Header } = Layout;

export default function Index(props) {
    const { title = '欢迎应聘微微科技有限公司', ...rest } = props;
    return (
        <Header className={styles.header} {...rest}>
            <div className={styles.simpleLogo} to="#">
                <img src={logo} alt="logo" />
                <h1>{title}</h1>
            </div>
        </Header>
    );
}
